#ifndef _sphere_h_included_
#define _sphere_h_included_

#include "Primitive.h"
#include "DXUtil.h"
#include <d3dx9.h>
#include <d3d9.h>
#include "Ray.h"

class Sphere : public Primitive
{

public:
	D3DXVECTOR3 center;
	float radius;
	virtual float Intersect(RAY &ray);
	virtual void Normal(D3DXVECTOR3* output, D3DXVECTOR3 &point);
};

#endif